_strdup和strdup還有string.h和string事
在MSVC中,_strdup(const char *p)函數的作用是返回一個指針,這個指針指向p的一個復制串。 結果輸出 :this is a string2488768 60660 ...
在MSVC中,_strdup(const char *p)函數的作用是返回一個指針,這個指針指向p的一個復制串。 結果輸出 :this is a string2488768 60660 ...